gtk4.git
12 years agodocs: use informal figures for screenshots
William Jon McCann [Wed, 17 Jul 2013 17:09:28 +0000 (13:09 -0400)]
docs: use informal figures for screenshots

12 years agodocs: update getting started screenshots
William Jon McCann [Wed, 17 Jul 2013 13:36:00 +0000 (09:36 -0400)]
docs: update getting started screenshots

12 years agodocs: add filename hints for getting started examples
William Jon McCann [Wed, 17 Jul 2013 13:21:08 +0000 (09:21 -0400)]
docs: add filename hints for getting started examples

12 years agodocs: fix use of multiplication typography
William Jon McCann [Wed, 17 Jul 2013 13:19:11 +0000 (09:19 -0400)]
docs: fix use of multiplication typography

12 years agoTajik translation updated
Victor Ibragimov [Wed, 17 Jul 2013 06:54:15 +0000 (11:54 +0500)]
Tajik translation updated

12 years agogdk/wayland: cope with the compositor implementing an older protocol than us
Giovanni Campagna [Fri, 12 Jul 2013 14:49:52 +0000 (16:49 +0200)]
gdk/wayland: cope with the compositor implementing an older protocol than us

If we bind to a global with an higher version than implemented, or
we make requests that appeared in a later version, we would get
fatal wayland errors.

https://bugzilla.gnome.org/show_bug.cgi?id=704104

12 years agoTajik translation updated
Victor Ibragimov [Tue, 16 Jul 2013 08:43:57 +0000 (13:43 +0500)]
Tajik translation updated

12 years agoreftests: Fix broken reftest
Benjamin Otte [Mon, 15 Jul 2013 17:42:29 +0000 (19:42 +0200)]
reftests: Fix broken reftest

GtkMenuItem has no accel group.

12 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Mon, 15 Jul 2013 17:40:24 +0000 (19:40 +0200)]
Updated Norwegian bokmål translation

12 years agoFix infobar docs to not mention type colors
William Jon McCann [Mon, 15 Jul 2013 16:37:58 +0000 (12:37 -0400)]
Fix infobar docs to not mention type colors

The theme may not use colors to distinguish the info bar
message types.

12 years agoMake the info bar action area border the same as the internal spacing
William Jon McCann [Mon, 15 Jul 2013 13:49:32 +0000 (09:49 -0400)]
Make the info bar action area border the same as the internal spacing

Using a consistent spacing feels much more polished.

12 years agoMake info bar action area horizontal
William Jon McCann [Mon, 15 Jul 2013 13:33:44 +0000 (09:33 -0400)]
Make info bar action area horizontal

A vertical action area causes the info bar to be imposingly large.
This defeats the whole point of the info bar which is to be
unobtrusive. Not to mention it is impossible to make it look
and feel good.

12 years agoBug 704216: Fix prototype for gdk_quartz_device_core_warp.
William Hua [Sun, 14 Jul 2013 22:07:05 +0000 (18:07 -0400)]
Bug 704216: Fix prototype for gdk_quartz_device_core_warp.

12 years agoGtkSearchEntry: fix search_entry_clear_cb()
Sébastien Wilmet [Sat, 13 Jul 2013 19:07:08 +0000 (21:07 +0200)]
GtkSearchEntry: fix search_entry_clear_cb()

When the icon-release signal is emitted on a GtkSearchEntry, the
contents is now cleared only if it's for the secondary icon. The primary
icon can be used for another purpose.

https://bugzilla.gnome.org/show_bug.cgi?id=704164

12 years agoUpdated Czech translation
Marek Černocký [Sun, 14 Jul 2013 09:39:17 +0000 (11:39 +0200)]
Updated Czech translation

12 years agoUpdated Czech translation
Marek Černocký [Sun, 14 Jul 2013 09:25:32 +0000 (11:25 +0200)]
Updated Czech translation

12 years agoUpdated Lithuanian properties translation
Aurimas Černius [Sat, 13 Jul 2013 15:01:09 +0000 (18:01 +0300)]
Updated Lithuanian properties translation

12 years agoUpdated Lithuanian UI translation
Aurimas Černius [Sat, 13 Jul 2013 14:38:25 +0000 (17:38 +0300)]
Updated Lithuanian UI translation

12 years ago[l10n] Update Tajik translation
Victor Ibragimov [Sat, 13 Jul 2013 13:39:22 +0000 (15:39 +0200)]
[l10n] Update Tajik translation

12 years agoTajik translation updated
Victor Ibragimov [Fri, 12 Jul 2013 12:22:38 +0000 (17:22 +0500)]
Tajik translation updated

12 years agoDeprecate and ignore gtk-entry-password-hint-timeout
William Jon McCann [Wed, 10 Jul 2013 16:13:12 +0000 (12:13 -0400)]
Deprecate and ignore gtk-entry-password-hint-timeout

This feature offers a number of benefits related to providing
feedback to the user when the password is masked. Some experts have
argued that password masking is harmful. I tend to agree with this
setting providing a better and more moderate solution. Some agree:
https://www.schneier.com/blog/archives/2009/07/the_pros_and_co.html

In order to further lessen the impact I've only enabled the feature
on the primary display since the likelyhood of a non-primary display
being visible by others is higher.

12 years agoDeprecate and ignore timeout-expand setting
William Jon McCann [Tue, 9 Jul 2013 20:47:59 +0000 (16:47 -0400)]
Deprecate and ignore timeout-expand setting

12 years agoDeprecate and ignore the timeout-initial and timeout-repeat settings
William Jon McCann [Tue, 9 Jul 2013 20:44:04 +0000 (16:44 -0400)]
Deprecate and ignore the timeout-initial and timeout-repeat settings

12 years agoUpdate git.mk, respects AC_CONFIG_AUX_DIR now
Behdad Esfahbod [Thu, 11 Jul 2013 19:28:49 +0000 (15:28 -0400)]
Update git.mk, respects AC_CONFIG_AUX_DIR now

12 years agoUpdate git.mk
Jasper St. Pierre [Thu, 11 Jul 2013 17:31:20 +0000 (13:31 -0400)]
Update git.mk

12 years agoIgnore extract-strings
Jasper St. Pierre [Thu, 11 Jul 2013 17:11:38 +0000 (13:11 -0400)]
Ignore extract-strings

12 years agotestsuite: Ignore generated .test files
Jasper St. Pierre [Thu, 11 Jul 2013 16:57:06 +0000 (12:57 -0400)]
testsuite: Ignore generated .test files

12 years agoAdd more .pc files to .gitignore
Jasper St. Pierre [Thu, 11 Jul 2013 16:46:24 +0000 (12:46 -0400)]
Add more .pc files to .gitignore

12 years agoTajik translation updated
Victor Ibragimov [Thu, 11 Jul 2013 15:13:07 +0000 (20:13 +0500)]
Tajik translation updated

12 years agoTajik translation updated
Victor Ibragimov [Thu, 11 Jul 2013 12:52:02 +0000 (17:52 +0500)]
Tajik translation updated

12 years agoTajik translation updated
Victor Ibragimov [Wed, 10 Jul 2013 08:51:32 +0000 (13:51 +0500)]
Tajik translation updated

12 years agoDelete gtk/extract-strings binary from source
Colin Walters [Wed, 10 Jul 2013 03:24:19 +0000 (23:24 -0400)]
Delete gtk/extract-strings binary from source

It was accidentally committed to git.

12 years agoBump version
Matthias Clasen [Wed, 10 Jul 2013 00:28:03 +0000 (20:28 -0400)]
Bump version

12 years ago3.9.8
Matthias Clasen [Tue, 9 Jul 2013 21:45:07 +0000 (17:45 -0400)]
3.9.8

12 years agoRemove debug spew
Matthias Clasen [Wed, 10 Jul 2013 00:06:23 +0000 (20:06 -0400)]
Remove debug spew

12 years agoDon't segfault when setting opacity on an offscreen window
Matthias Clasen [Wed, 10 Jul 2013 00:05:46 +0000 (20:05 -0400)]
Don't segfault when setting opacity on an offscreen window

This was causing the treeview tests to fail.

12 years agoRevert the private macro change for GtkToolButton
Matthias Clasen [Tue, 9 Jul 2013 23:18:08 +0000 (19:18 -0400)]
Revert the private macro change for GtkToolButton

There was a reason that GtkToolButton was not using the
G_DEFINE_TYPE macros - we need the klass argument to get
the proper button type at init time.

12 years agowayland: Handle the display connection erroring out
Rob Bradford [Tue, 9 Jul 2013 17:08:21 +0000 (18:08 +0100)]
wayland: Handle the display connection erroring out

wl_display_flush or wl_display_dispatch can return -1 if there is an
error on the display connection.

https://bugzilla.gnome.org/show_bug.cgi?id=703892

12 years agowayland: Don't clear revents until we've checked for G_IO_HUP
Kristian Høgsberg [Tue, 9 Jul 2013 22:35:06 +0000 (18:35 -0400)]
wayland: Don't clear revents until we've checked for G_IO_HUP

https://bugzilla.gnome.org/show_bug.cgi?id=703892

12 years agoFix a typo
Matthias Clasen [Tue, 9 Jul 2013 17:49:39 +0000 (13:49 -0400)]
Fix a typo

12 years agoDocument new environment variables
Matthias Clasen [Tue, 9 Jul 2013 14:07:10 +0000 (10:07 -0400)]
Document new environment variables

Explain GDK_SCALE and GDK_DPI_SCALE.

12 years agoAdd new api to the gtk docs
Matthias Clasen [Tue, 9 Jul 2013 13:52:48 +0000 (09:52 -0400)]
Add new api to the gtk docs

12 years agoAdd new gdk api to the docs
Matthias Clasen [Tue, 9 Jul 2013 13:43:18 +0000 (09:43 -0400)]
Add new gdk api to the docs

12 years agoDeprecate and hardcode gtk-recent-files-limit
William Jon McCann [Mon, 8 Jul 2013 20:42:44 +0000 (16:42 -0400)]
Deprecate and hardcode gtk-recent-files-limit

The GtkRecentChooser already has a property that can be used
to set this on a per widget basis and the recent manager already
has a max-age limit.

12 years agoplaces sidedbar: deal with lack of symbolics
Matthias Clasen [Tue, 9 Jul 2013 11:12:18 +0000 (07:12 -0400)]
places sidedbar: deal with lack of symbolics

Use g_themed_icon_new_with_default_fallbacks, so we don't end up
without icons when the theme doesn't have symbolic icons.

https://bugzilla.gnome.org/show_bug.cgi?id=703606

12 years agoContinue the deprecation of GtkIconSet
Kjell Ahlstedt [Fri, 5 Jul 2013 13:42:31 +0000 (15:42 +0200)]
Continue the deprecation of GtkIconSet

Deprecate gtk_icon_set_render_icon_surface() and gtk_image_get_icon_set(),
which take parameters of the deprecated GtkIconSet.

https://bugzilla.gnome.org/show_bug.cgi?id=703616

12 years agoFix some inconsistent deprecations
Kjell Ahlstedt [Fri, 5 Jul 2013 13:17:24 +0000 (15:17 +0200)]
Fix some inconsistent deprecations

Some functions had only a deprecation comment in the .c file, or only a
deprecation annotation in the .h file. Add the missing parts.

https://bugzilla.gnome.org/show_bug.cgi?id=703616

12 years agogtkrecentmanager: Avoid confusion between the meta-data and the actual resource.
aakash [Mon, 8 Jul 2013 21:41:27 +0000 (03:11 +0530)]
gtkrecentmanager: Avoid confusion between the meta-data and the actual resource.

Fixed the documentation to clarify that gtk_recent_info_get_visited
and gtk_recent_info_get_modified are actually about the recent info
meta-data rather than the resource itself.

https://bugzilla.gnome.org/show_bug.cgi?id=703827

12 years agoTajik translation updated
Victor Ibragimov [Tue, 9 Jul 2013 10:11:15 +0000 (15:11 +0500)]
Tajik translation updated

12 years agowayland: request appropriate compositor version to support buffer scale
Rob Bradford [Tue, 9 Jul 2013 09:04:12 +0000 (10:04 +0100)]
wayland: request appropriate compositor version to support buffer scale

With the introduction of the use of buffer scaling in ed4fcee4ct we
must request version 3 of the compositor as that is the version of the
surface interface that adds this new functionality. See the following
commit in weston:

commit a85118c1b85df6fbf8f896dca971a5b79a94da71
Author: Jason Ekstrand <jason@jlekstrand.net>
Date:   Thu Jun 27 20:17:02 2013 -0500

    Use wl_resource_create() for creating resources

    This commit sets the version numbers for all added/created objects.  The
    wl_compositor.create_surface implementation was altered to create a surface
    with the same version as the underlying wl_compositor.  Since no other
    "child interfaces" have version greater than 1, they were all hard-coded to
    version 1.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
https://bugzilla.gnome.org/show_bug.cgi?id=703817

12 years agodocs: Update the coding style
Emmanuele Bassi [Thu, 4 Jul 2013 23:09:37 +0000 (00:09 +0100)]
docs: Update the coding style

We should mention that newly written code should not have the private
data pointer in the instance structure, and that private data should be
added using the new GObject macros.

https://bugzilla.gnome.org/show_bug.cgi?id=702996

12 years agotests: Use the new macros for adding instance private data
Emmanuele Bassi [Thu, 4 Jul 2013 23:09:31 +0000 (00:09 +0100)]
tests: Use the new macros for adding instance private data

https://bugzilla.gnome.org/show_bug.cgi?id=702996

12 years agogtk-demo: Use the new macros for adding instance private data
Emmanuele Bassi [Thu, 4 Jul 2013 23:09:12 +0000 (00:09 +0100)]
gtk-demo: Use the new macros for adding instance private data

https://bugzilla.gnome.org/show_bug.cgi?id=702996

12 years agodeprecated: Use the new macros for adding instance private data
Emmanuele Bassi [Thu, 4 Jul 2013 23:08:37 +0000 (00:08 +0100)]
deprecated: Use the new macros for adding instance private data

https://bugzilla.gnome.org/show_bug.cgi?id=702996

12 years agogtk: Use new macros for defining private data
Emmanuele Bassi [Thu, 27 Jun 2013 19:02:52 +0000 (20:02 +0100)]
gtk: Use new macros for defining private data

https://bugzilla.gnome.org/show_bug.cgi?id=702996

12 years agoa11y: Use new macros for defining private data
Emmanuele Bassi [Mon, 24 Jun 2013 18:13:44 +0000 (19:13 +0100)]
a11y: Use new macros for defining private data

https://bugzilla.gnome.org/show_bug.cgi?id=702996

12 years agogdk: Use new macros for defining private data
Emmanuele Bassi [Mon, 24 Jun 2013 17:54:05 +0000 (18:54 +0100)]
gdk: Use new macros for defining private data

Drop the g_type_class_add_private() function, and use the macros
instead.

https://bugzilla.gnome.org/show_bug.cgi?id=702996

12 years agoBump GLib dependency to 2.37.3
Emmanuele Bassi [Mon, 24 Jun 2013 17:52:05 +0000 (18:52 +0100)]
Bump GLib dependency to 2.37.3

https://bugzilla.gnome.org/show_bug.cgi?id=702996

12 years agoGtkSearchBar: Don't show a close button by default
Bastien Nocera [Fri, 5 Jul 2013 14:05:56 +0000 (16:05 +0200)]
GtkSearchBar: Don't show a close button by default

And mention in which cases we should show one in the documentation.

https://bugzilla.gnome.org/show_bug.cgi?id=703656

12 years agowayland: Fix build due to missing symbol export
Jürg Billeter [Mon, 8 Jul 2013 07:41:03 +0000 (09:41 +0200)]
wayland: Fix build due to missing symbol export

https://bugzilla.gnome.org/show_bug.cgi?id=703765

12 years agotextlayout: avoid double-free when adding preedit color
Daiki Ueno [Wed, 3 Jul 2013 10:03:30 +0000 (19:03 +0900)]
textlayout: avoid double-free when adding preedit color

In add_preedit_attrs, don't free foreground/background colors already
set in the underlying text attributes (style).  They will be free'd by
release_style.

https://bugzilla.gnome.org/show_bug.cgi?id=703533

12 years agoFix the small text for text in GtkAboutDialog
Matthias Clasen [Tue, 9 Jul 2013 01:46:43 +0000 (21:46 -0400)]
Fix the small text for text in GtkAboutDialog

The conversion from gtk_widget_override_font to a GtkTextTag
in fbbb66ae7d19516b7a99de3d8b0a96164fb3ead2 was defective.

https://bugzilla.gnome.org/show_bug.cgi?id=701119

12 years agoAdd missing G_PARAM_DEPRECATED to stock deprecations
William Jon McCann [Mon, 8 Jul 2013 19:39:55 +0000 (15:39 -0400)]
Add missing G_PARAM_DEPRECATED to stock deprecations

12 years agoAdd missing G_PARAM_DEPRECATED to gtksettings
William Jon McCann [Mon, 8 Jul 2013 19:28:25 +0000 (15:28 -0400)]
Add missing G_PARAM_DEPRECATED to gtksettings

12 years agoDeprecate and hardcode default toolbar icon size setting
William Jon McCann [Mon, 8 Jul 2013 17:45:01 +0000 (13:45 -0400)]
Deprecate and hardcode default toolbar icon size setting

Toolbar icon size can still be changed on a per-widget basis as
needed by the application developer.

12 years agoDeprecate and hardcode default toolbar style setting
William Jon McCann [Mon, 8 Jul 2013 17:28:48 +0000 (13:28 -0400)]
Deprecate and hardcode default toolbar style setting

Toolbar style can still be changed on a per-widget basis as
needed by the application developer.

12 years agoDeprecate and hardcode values for gtk-tooltip* timeouts
William Jon McCann [Mon, 8 Jul 2013 17:13:23 +0000 (13:13 -0400)]
Deprecate and hardcode values for gtk-tooltip* timeouts

12 years agoDeprecate and hardcode the value of visible-focus setting
William Jon McCann [Mon, 8 Jul 2013 16:53:23 +0000 (12:53 -0400)]
Deprecate and hardcode the value of visible-focus setting

Just use the default value of AUTOMATIC and make it just work.

12 years agobuild: Update for perf/ directory removal
Benjamin Otte [Mon, 8 Jul 2013 14:23:42 +0000 (16:23 +0200)]
build: Update for perf/ directory removal

Ooops.

12 years agoperf: Delete
Benjamin Otte [Mon, 8 Jul 2013 14:17:46 +0000 (16:17 +0200)]
perf: Delete

The perf/ directory was unused and the code was outdated. So it's easier
to delete than trying to modernize the code.

12 years agotools: Fix casting warnings
Benjamin Otte [Mon, 8 Jul 2013 14:17:18 +0000 (16:17 +0200)]
tools: Fix casting warnings

12 years agofix close button in testtitlebar as well
Matthias Clasen [Sun, 7 Jul 2013 01:53:15 +0000 (21:53 -0400)]
fix close button in testtitlebar as well

Same disease as with the previous fix.

12 years agocsd: Fix up close buttons
Matthias Clasen [Sun, 7 Jul 2013 01:49:25 +0000 (21:49 -0400)]
csd: Fix up close buttons

Must pass the window as first argument to the signal handler.

12 years agoCosmetics
Matthias Clasen [Sat, 6 Jul 2013 01:43:16 +0000 (21:43 -0400)]
Cosmetics

12 years agoUpdated POTFILES.skip
Piotr Drąg [Sat, 6 Jul 2013 15:09:15 +0000 (17:09 +0200)]
Updated POTFILES.skip

12 years agoUpdated Vietnamese translation
Trần Ngọc Quân [Sat, 6 Jul 2013 11:39:37 +0000 (18:39 +0700)]
Updated Vietnamese translation

12 years agopo/vi: import from Damned Lies
Nguyễn Thái Ngọc Duy [Sat, 6 Jul 2013 11:30:54 +0000 (18:30 +0700)]
po/vi: import from Damned Lies

12 years agoDon't prematurely mark window as realized
Matthias Clasen [Fri, 5 Jul 2013 21:15:31 +0000 (17:15 -0400)]
Don't prematurely mark window as realized

Other code assumes that the widget has a window if it is realized.
Since we might trigger such code indirectly from gtk_window_realize,
don't mark the window as realized before we've registered its window.

12 years agoCosmetic cleanups
Matthias Clasen [Fri, 5 Jul 2013 18:24:38 +0000 (14:24 -0400)]
Cosmetic cleanups

Avoid some unnecessary casts.

12 years agocsd: hide invisible borders when tiled or fullscreen
Matthias Clasen [Fri, 5 Jul 2013 18:53:05 +0000 (14:53 -0400)]
csd: hide invisible borders when tiled or fullscreen

This is the expected behavior, and matches what mutter does.

12 years agocsd: fix a resizing artifacts when unmaximizing
Matthias Clasen [Fri, 5 Jul 2013 18:25:30 +0000 (14:25 -0400)]
csd: fix a resizing artifacts when unmaximizing

When using Super-up/down to maximize and unmaximize a csd window,
the titlebar and content was not picking up the window borders.

12 years agocsd: no border when fullscreen
Matthias Clasen [Fri, 5 Jul 2013 17:59:41 +0000 (13:59 -0400)]
csd: no border when fullscreen

The was a missing fullscreen check in get_decoration_size was causing
the window background to have a transparent border when fullscreen.

12 years agoreftest: Add reftest for scaled image borders - fails on GDK_SCALE=2
Alexander Larsson [Fri, 5 Jul 2013 13:21:55 +0000 (15:21 +0200)]
reftest: Add reftest for scaled image borders - fails on GDK_SCALE=2

12 years agogtk-demo: Properly cleanup the revealer demo
Matthias Clasen [Thu, 4 Jul 2013 21:52:09 +0000 (17:52 -0400)]
gtk-demo: Properly cleanup the revealer demo

We forgot to remove the timeout.

12 years agoGtkListBox: Add g_return_if_fail checks to public row functions
Kalev Lember [Thu, 4 Jul 2013 13:50:09 +0000 (15:50 +0200)]
GtkListBox: Add g_return_if_fail checks to public row functions

12 years agotestsuite: Add tests for gtk_list_box_row_get_index
Kalev Lember [Thu, 4 Jul 2013 12:15:22 +0000 (14:15 +0200)]
testsuite: Add tests for gtk_list_box_row_get_index

https://bugzilla.gnome.org/show_bug.cgi?id=703618

12 years agoGtkListBox: Add a function for getting the index of a row
Kalev Lember [Thu, 4 Jul 2013 11:40:21 +0000 (13:40 +0200)]
GtkListBox: Add a function for getting the index of a row

https://bugzilla.gnome.org/show_bug.cgi?id=703618

12 years agoGtkListBox: Remove a double semicolon
Kalev Lember [Thu, 4 Jul 2013 11:39:07 +0000 (13:39 +0200)]
GtkListBox: Remove a double semicolon

12 years agostack: Use normal opacity groups rather than weird ones in GtkWidget
Alexander Larsson [Thu, 4 Jul 2013 11:30:51 +0000 (13:30 +0200)]
stack: Use normal opacity groups rather than weird ones in GtkWidget

Since we now do all drawing propagation on the cairo_t (rather than
exposing multiple independent times on the GdkWindows) we no longer
need the opacity 0.999 hack.

12 years agowidget: Remove some leftover code
Alexander Larsson [Thu, 4 Jul 2013 11:16:05 +0000 (13:16 +0200)]
widget: Remove some leftover code

The norender stuff is not used anymore

12 years agowidget: Don't crash if setting alpha on non-realized widget.
Alexander Larsson [Thu, 4 Jul 2013 10:54:59 +0000 (12:54 +0200)]
widget: Don't crash if setting alpha on non-realized widget.

https://bugzilla.gnome.org/show_bug.cgi?id=703154

12 years agoGtkSearchBar: Fix automatic entry connection
Bastien Nocera [Mon, 1 Jul 2013 17:46:13 +0000 (19:46 +0200)]
GtkSearchBar: Fix automatic entry connection

Adding an entry to the search bar didn't automatically connect
the signals as expected as the code was in the wrong branch.

https://bugzilla.gnome.org/show_bug.cgi?id=703406

12 years agoAvoid deprecation warning
Matthias Clasen [Wed, 3 Jul 2013 23:52:11 +0000 (19:52 -0400)]
Avoid deprecation warning

There was one overlooked use of GTK_STOCK_MISSING_IMAGE.

12 years agowayland: Create the Wayland surface for the window on impl creation
Rob Bradford [Wed, 3 Jul 2013 15:19:39 +0000 (16:19 +0100)]
wayland: Create the Wayland surface for the window on impl creation

Ths allows the retrieval of the wl_surface before the window is shown.
The surface is still created in the original places since the surface
and shell surface is destroyed when the surface is programmatically
hidden.

12 years agowayland: Fix typo in setting of core_pointer
Michael Forney [Mon, 1 Jul 2013 22:51:20 +0000 (15:51 -0700)]
wayland: Fix typo in setting of core_pointer

This typo caused the display's core_pointer to be set only if the mouse
was first in the device list.

https://bugzilla.gnome.org/show_bug.cgi?id=703434

12 years agowayland: Add custom create_similar_image implementation
Alexander Larsson [Wed, 3 Jul 2013 14:03:25 +0000 (16:03 +0200)]
wayland: Add custom create_similar_image implementation

The fallback method is used on other backends, but it caused
problems for wayland when it tried to create a surface for
the root window.

12 years agoFile chooser: Convert icons to using cairo_surface_t
Alexander Larsson [Wed, 3 Jul 2013 11:26:03 +0000 (13:26 +0200)]
File chooser: Convert icons to using cairo_surface_t

12 years agoGtkCellRendererPixbuf: Add surface property
Alexander Larsson [Wed, 26 Jun 2013 14:34:53 +0000 (16:34 +0200)]
GtkCellRendererPixbuf: Add surface property

12 years agoGtkImage: Add new_from_surface() and set_from_surface()
Alexander Larsson [Wed, 26 Jun 2013 14:33:50 +0000 (16:33 +0200)]
GtkImage: Add new_from_surface() and set_from_surface()

12 years agoGtkIconHelper: Convert to using cairo surfaces as base and support scales
Alexander Larsson [Mon, 24 Jun 2013 12:13:43 +0000 (14:13 +0200)]
GtkIconHelper: Convert to using cairo surfaces as base and support scales

We render the source into a cairo_surface_t so that we can render it
with cairo directly, rather than having to convert it from a pixbuf
every time. We also specify the target window when creating the cairo
surface so that rendering can be faster.

Using cairo surfaces also allows us to seamlessly support window scales.

We also add a GTK_IMAGE_SURFACE source type.